[INFO] cloning repository https://github.com/craigfay/rust_json_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craigfay/rust_json_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fbf687b100de05c92d23087cde360e3a3aa2fe24
[INFO] building craigfay/rust_json_api against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/craigfay/rust_json_api on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/craigfay/rust_json_api
[INFO] finished tweaking git repo https://github.com/craigfay/rust_json_api
[INFO] tweaked toml for git repo https://github.com/craigfay/rust_json_api written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/craigfay/rust_json_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f687dc5e60f7562b1e0ec312e0cbd243d8b65c29c819cbce1e131f79ceba0f95
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f687dc5e60f7562b1e0ec312e0cbd243d8b65c29c819cbce1e131f79ceba0f95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f687dc5e60f7562b1e0ec312e0cbd243d8b65c29c819cbce1e131f79ceba0f95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f687dc5e60f7562b1e0ec312e0cbd243d8b65c29c819cbce1e131f79ceba0f95", kill_on_drop: false }`
[INFO] [stdout] f687dc5e60f7562b1e0ec312e0cbd243d8b65c29c819cbce1e131f79ceba0f95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e0bf783bb5618886d7cde0dd86dc04b0cb066de69b938a4f9f215d3e0fa4afe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0e0bf783bb5618886d7cde0dd86dc04b0cb066de69b938a4f9f215d3e0fa4afe", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.34
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling smallvec v1.4.1
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling hashbrown v0.8.1
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling indexmap v1.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.11
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling tracing v0.1.17
[INFO] [stderr]    Compiling flate2 v1.0.16
[INFO] [stderr]    Compiling libsqlite3-sys v0.18.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.13
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.36
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.3
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling diesel v1.4.5
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling rust_json_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `insertable`
[INFO] [stdout]   --> src/db/mod.rs:19:36
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn create<M: models::Resource>(insertable: M::Insertable) -> bool {
[INFO] [stdout]    |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_insertable`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/db/models.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     diesel::update(
[INFO] [stdout] 43 | |         schema::posts::table.filter(schema::posts::id.eq(id))
[INFO] [stdout] 44 | |     )
[INFO] [stdout] 45 | |         .set(mutation)
[INFO] [stdout] 46 | |         .execute(&connection);
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/bin/notes.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | let rows_inserted = diesel::insert_into(users)
[INFO] [stdout]    | ^^^ expected item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_json_api`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in `rust_json_api`
[INFO] [stdout]  --> src/bin/delete_post.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use rust_json_api::schema::posts::dsl::*;
[INFO] [stdout]   |                        ^^^^^^ could not find `schema` in `rust_json_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/bin/write_post.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let post = create_post(title, &body);
[INFO] [stdout]    |                ^^^^^^^^^^^ -----  ----- supplied 2 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected 1 argument
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/db/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn create_post(new_post: &models::PostInsertion) -> Result<usize, &'static str>{
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `posts` in this scope
[INFO] [stdout]   --> src/bin/delete_post.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let num_deleted = diesel::delete(posts.filter(title.like(pattern)))
[INFO] [stdout]    |                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::schema::posts::dsl::posts;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rust_json_api::db::schema::posts::dsl::posts;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `title` in this scope
[INFO] [stdout]   --> src/bin/delete_post.rs:15:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let num_deleted = diesel::delete(posts.filter(title.like(pattern)))
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::schema::posts::title;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rust_json_api::db::schema::posts::title;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]  --> src/bin/publish_post.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use self::db::models::Post;
[INFO] [stdout]   |           ^^
[INFO] [stdout]   |           |
[INFO] [stdout]   |           unresolved import
[INFO] [stdout]   |           help: a similar path exists: `rust_json_api::db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in `rust_json_api`
[INFO] [stdout]   --> src/bin/publish_post.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use rust_json_api::schema::posts::dsl::{posts, published};
[INFO] [stdout]    |                        ^^^^^^ could not find `schema` in `rust_json_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `posts` in this scope
[INFO] [stdout]   --> src/bin/publish_post.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let post = diesel::update(posts.find(id))
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::schema::posts::dsl::posts;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rust_json_api::db::schema::posts::dsl::posts;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `published` in this scope
[INFO] [stdout]   --> src/bin/publish_post.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         .set(published.eq(true))
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::schema::posts::published;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rust_json_api::db::schema::posts::published;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Post` in this scope
[INFO] [stdout]   --> src/bin/publish_post.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .get_result::<Post>(&connection)
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  | use crate::models::Post;
[INFO] [stdout]    |
[INFO] [stdout] 4  | use rust_json_api::db::models::Post;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0e0bf783bb5618886d7cde0dd86dc04b0cb066de69b938a4f9f215d3e0fa4afe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e0bf783bb5618886d7cde0dd86dc04b0cb066de69b938a4f9f215d3e0fa4afe", kill_on_drop: false }`
[INFO] [stdout] 0e0bf783bb5618886d7cde0dd86dc04b0cb066de69b938a4f9f215d3e0fa4afe
